import Layout from '@/layout/index.vue'
// 专柜路由权限
const shopPermission = [
  {
    children: [],
    finalPath: '/homePage',
    meta: {
      icon: 'icon-a-shouye',
      checkedIcon: 'icon-a-shouye0',
      title: '首页'
    },
    component: Layout,
    name: 'homepc',
    path: '/homePage'
  },
  {
    finalPath: '/oms/orderManage',
    meta: {
      icon: 'icon-a-dingdanguanli',
      checkedIcon: 'icon-a-dingdanguanli0',
      title: 'OMS管理'
    },
    component: Layout,
    name: '/oms/orderManage',
    path: '/oms/orderManage',
    children: [
      {
        component: Layout,
        // finalPath: '/oms/orderManage/shoppeAdd',
        finalPath: '/oms/orderManage/customerSelfAddOrder',
        meta: {
          icon: 'icon-a-xinjiandingdan',
          roles: [],
          title: '新建订单'
        },
        name: 'shoppeAdd',
        path: 'customerSelfAddOrder'
      },
      // {
      //   component: Layout,
      //   finalPath: '/oms/orderManage/shoppeStrategy',
      //   meta: {
      //     icon: 'icon-a-buhuocelue',
      //     roles: [],
      //     title: '补货策略'
      //   },
      //   name: 'shoppeStrategy',
      //   path: 'shoppeStrategy'
      // },
      {
        component: Layout,
        finalPath: '/oms/orderManage/shoppeOrder',
        meta: {
          icon: 'icon-a-wodedingdan',
          roles: [],
          title: '我的订单'
        },
        name: 'shoppeOrder',
        path: 'shoppeOrder'
      },
      {
        component: Layout,
        finalPath: '/oms/orderManage/shoppeAddress',
        meta: {
          icon: 'icon-a-dizhiguanli1',
          roles: [],
          title: '地址管理'
        },
        name: 'shoppeAddress',
        path: 'shoppeAddress'
      },
      // 产品退货管理begin
      // {
      //   component: Layout,
      //   finalPath: '/oms/orderManage/salesreturn',
      //   meta: {
      //     icon: 'icon-a-chanpintuihuoguanli',
      //     roles: [],
      //     title: '退货管理'
      //   },
      //   name: 'shoppeSalesReturn',
      //   path: 'salesreturn'
      // },
      // 产品退货管理end
      // 取消单管理begin
      {
        path: 'cancelManage',
        finalPath: '/oms/orderManage/cancelManage',
        component: Layout,
        name: '/oms/orderManage/cancelManage',
        meta: {
          title: '取消管理',
          icon: 'icon-a-chanpintuihuoguanli'
        },
        children: []
      }
      // 取消单管理end
    ]
  },
  
]
export default shopPermission
